<?php
session_start();
unset($_SESSION["admin"]);
unset($_SESSION["user"]);
session_destroy();
header("HTTP/1.1 302 Found");
header("Content-Type: text/html; charset=UTF-8");
header("Location: ../");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh" xml:lang="zh">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="refresh" content="0; url=/" />
<title>退出</title>
</head>

<body>
您已退出登录。单击<a href="/">此处</a>返回首页。

</body>
</html>
